package com.atguigu.gulimall.product.service;

import com.atguigu.common.base.BaseService;
import com.atguigu.gulimall.product.entity.PmsAttrAttrgroupRelationEntity;
import com.atguigu.gulimall.product.vo.AttrGroupRelationVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 */
public interface PmsAttrAttrgroupRelationService extends BaseService<PmsAttrAttrgroupRelationEntity, Map<String, Object>> {

    PageUtils queryPage(Map<String, Object> params);

    //商品系统--平台属性--属性分组--关联--批量删除
    void deleteBatchRelation(List<PmsAttrAttrgroupRelationEntity> entities);

    //平台属性--关联--新建关联--确认新增按钮
    void saveBatchAttrRelation(List<AttrGroupRelationVo> vos);
}

